package cn.com.api.service.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_city;

/**
 * 
 */
@Service
public interface T_cityServiceBase {

	//根据id查看
	public ApiT_city findT_cityById(Integer id);
	
    //查看数据集
	public List<ApiT_city> findT_citys();
    
	//添加
 	public int insertT_city(ApiT_city t_city);
  	
	//修改
    public int updateT_city(ApiT_city t_city);
    
    //删除
    public int deleteT_city(Integer id);
    
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    //获取根据is_open	
    public List<ApiT_city> findT_citysByIs_open(String is_open);
    		
    //获取根据pid	
    public List<ApiT_city> findT_citysByPid(String pid);
    		
    //获取根据sort	
    public List<ApiT_city> findT_citysBySort(String sort);
    		
    //获取根据uname	
    public List<ApiT_city> findT_citysByUname(String uname);
    		
 
}


